package yl.hs.bmipfull.pojo.finance;

import lombok.Data;
import lombok.EqualsAndHashCode;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;

/*
 * BrickShipSettleDetailEntity
 * @category
 * @author 谢景广
 * @date 2023-01-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@DBTable(disName = "成品砖结算明细信息", mapCode = "brick_ship_order_details")
public class BrickShipSettleDetailEntity extends BaseEntity {
    private Long id;
    @DBField(disName = "结算明细编号",mapCode = "sn",isSerialNumber = true,snPrefix = "ZJSMX")
    private String sn;
    private String settleSN;
    private String title;
    private String productSN;
    private String productName;
    private String productSpec;
    private String productCate;
    private BigDecimal totalVolume = BigDecimal.ZERO;
    private BigDecimal totalQuantity = BigDecimal.ZERO;
    private BigDecimal price = BigDecimal.ZERO;
    private BigDecimal freight = BigDecimal.ZERO;
    private BigDecimal amount = BigDecimal.ZERO;
    private int orderCount;
    private String remark;
}
